import FetchHelper from "../helper/fetch-helper";

export default class XzqhHandle{
    static async xzqhAddDynamicApi(){
        const xzqhAddDynamicForms=await FetchHelper.getJson(`${process.env.PUBLIC_URL}/datas/行政区划新增.json`)
        return xzqhAddDynamicForms;
    }
    static async xzqhIdDataApi(id){
        const resp=await FetchHelper.getJson(`/admin-api/ybyj/xzqh/`+id)
        return resp;
    }
    static async xzqhEditDynamicApi(){
        const xzqhEditDynamicForms=await FetchHelper.getJson(`${process.env.PUBLIC_URL}/datas/行政区划编辑.json`)
        return xzqhEditDynamicForms;
    }
}